var express=require("express");
var parser=require("body-parser");
var methodOverride=require("method-override");
module.exports=function(){
	var app=express();
	app.use(express.static("./public"));
	app.use(parser.json());
	app.use(methodOverride());
	require("../routes/user.server.route")(app);
	return app;
}
